package com.dikang.yygh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dikang.yygh.model.hosp.Hospital;
import com.dikang.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author 俊杰
 */
public interface HospitalService  extends IService<Hospital> {
    void save(Map<String, Object> paramrMap);

    Hospital getHospitalByHosCode(String hoscode);

    Page selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> show(String id);

    String getHospName(String hoscode);
    // 通过医院名称模糊查询医院信息
    List<Hospital> getHospitalByHosname(String hosname);

    Map<String, Object> item(String hoscode);
}
